<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Index</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        html,
        body {
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        canvas {
            display: block;
        }
        .back{
            position: absolute;
            background: rgba(255,255,255,.2);
            width: 150px;
            height: 50px;
            transition: .5s all ease;
        }
        .btn{
            width: 150px;
            height: 50px;
            font-size: 20px;
            letter-spacing: 0.2em;
        }
        .btn:hover{
            background: rgb(0,0,0);
            color: #fff;
        }
    </style>
</head>
<body>
<script>
    function goBack(){
        window.location.href="http://localhost:3000/index/home"
    }
</script>
<script src="main.js" type="module"></script>
<div class="back">
    <button onclick="goBack()" class="btn">
        返回主页
    </button>
</div>
</body>
</html>